package com.chushouya.manager.constants;

public interface RedisLocks {

    /**
     * 小程序获取accessToken锁
     * {}:appid
     */
    String ACCESS_TOKEN_LOCK = "suhuishou:lock:access_token:{}";

    /**
     * 云闪付获取backendToken锁
     * {}:appid
     */
    String YSF_BACKEND_TOKEN_LOCK = "suhuishou:lock:ysf_backend_token:{}";

    /**
     * 扣款锁
     * {}:orderId
     */
    String DEDUCT_PAY_LOCK = "suhuishou:lock:pay_deduct:{}";

    /**
     * 移动获取token锁
     */
    String CHINA_MOBILE_TOKEN_LOCK = "suhuishou:lock:china_mobile_token:{}";

    /**
     * 华为获取accessToken锁
     * {}:appid
     */
    String HUAWEI_ASSESS_TOKEN = "suhuishou:lock:huawei_access_token:{}";

}
